package cn.south.campus.business.service;

import cn.south.campus.business.model.entity.Address;
import cn.south.campus.business.model.vo.AddressVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 地址表 服务类
 * </p>
 *
 * @author chow
 * @since 2024-11-14
 */
public interface AddressService extends IService<Address> {

    List<AddressVo> listAddress();

    void addAddress(AddressVo addressVo);

    void defaultAddr(Long id);

    AddressVo getAddressById(Long id);

    AddressVo getDefaultAddress();

    void updateAddress(AddressVo addressVo);
}
